package com.yaoran.userauth.dao;

import com.yaoran.userauth.entity.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenuDao {
    void addMenu(Menu menu);

    List<Menu> listMenu(String keyWord,int organizationId);

    void updateMenu(Menu menu);

    void deleteMenu(Long id);

    void deleteManyMenus(Long[] ids);

    Menu getMenu(Long id);

    List<Menu> applicationMenu(Long applicationId);
}
